using System.Collections.Generic;
using System.IO;

using Flood.Interfaces;

namespace Flood
{
	public sealed class DataReader : IDataReader
	{
		private readonly string filePath;

		public DataReader(string filePath)
		{
			this.filePath = filePath;
		}

		#region IDataReader Members

		public IEnumerable<string> ReadLines()
		{
			return File.ReadAllLines(filePath);
		}

		#endregion
	}
}